package org.witsoft.dtx.domain;

import lombok.Data;
import lombok.NonNull;
import lombok.RequiredArgsConstructor;

import java.sql.Timestamp;
import java.util.Date;

/**
 * @author XiaoQing Lin
 * @date 2020-09-18 18:35
 */
@Data
@RequiredArgsConstructor
public class BranchTransaction {

    @NonNull
    private String gid;

    @NonNull
    private String bid;

    private BranchStatus status;

    private String handlerClass;

    private String handlerArgs;

    private Timestamp createTime;

    private Timestamp updateTime;
}
